package model

import "time"

type User struct {
	Id       int64 // xorm默认自动递增
	Username string
	Salt     string
	Password string    `xorm:"varchar(200)"`
	Created  time.Time `xorm:"created"` //Created可以让您在数据插入到数据库时自动将对应的字段设置为当前时间
	Updated  time.Time `xorm:"updated"`
	Deleted  time.Time `xorm:"deleted"` // 软删除，类型必须为Time
	Version  int
}
